﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;

namespace Common.Net.DataStructures
{
    public static class Tuple
    {
        public static Tuple<T1, T2> New<T1, T2>(T1 value1, T2 value2)
        {
            return new Tuple<T1, T2>(value1, value2);
        }
    }

    public class Tuple<T1, T2>
    {
        public readonly T1 Value1;
        public readonly T2 Value2;

        [DebuggerStepThrough]
        public Tuple(T1 value1, T2 value2)
        {
            this.Value1 = value1;
            this.Value2 = value2;
        }
    }
}
